home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3429 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  740 b 

  1. Path: oxy.rust.net!usenet
  2. From: ebennett@rust.net
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: who know how to use large array in c++?
  5. Date: Wed, 24 Jan 1996 04:22:14 GMT
  6. Organization: Rust Net - High Speed Internet in Detroit  810-642-2276
  7. Message-ID: <4e41jd$e2m@oxy.rust.net>
  8. References: <4e0ml0$jt5@mercury.wright.edu>
  9. NNTP-Posting-Host: liv-21.rust.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. Apichart Intarapanich <aintara> wrote:
  13.  
  14. >hi
  15. >anybody know how can i declare array like this
  16.  
  17. >float a[1000][1000][1000];
  18.  
  19. >i cannot do that. i got segmentation fault statement. who know what should i
  20. >do?
  21.  
  22.  
  23. Find another solution!  You are trying to create an array which is
  24. going to take over 3 gigabytes of RAM.   (assuming a 4 byte float)
  25.  
  26. Earl
  27.  
  28.  
  29.